package com.lijunjie.platform.api.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijunjie
 * @since 2020-01-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_operation_log")
@ApiModel(value="OperationLog对象", description="")
public class OperationLog implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "操作用户ID")
    private String operateUserId;

    @ApiModelProperty(value = "操作用户名")
    private String operateUserName;

    @ApiModelProperty(value = "操作时间")
    private LocalDateTime operateTime;

    @ApiModelProperty(value = "IP地址")
    private String requestIp;

    @ApiModelProperty(value = "请求后台地址")
    private String requestUri;

    @ApiModelProperty(value = "请求方式")
    private String requestMethod;

    @ApiModelProperty(value = "请求类名")
    private String requestClassName;

    @ApiModelProperty(value = "请求方法名")
    private String requestClassMethod;

    @ApiModelProperty(value = "请求参数")
    private String requestParameter;

    @ApiModelProperty(value = "请求返回结果")
    private String requestResult;

    @ApiModelProperty(value = "执行时长")
    private Integer executionTime;

    @ApiModelProperty(value = "逻辑删除")
    private String isDel;


}
